package cn.iocoder.yudao.module.member.controller.app.pickupinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 用户提料人信息新增/修改 Request VO")
@Data
public class PickupInfoSaveReqVO {

    @Schema(description = "提料人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28279")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6275")
//    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "收件人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "收件人名称不能为空")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "身份证号不能为空")
    private String idNo;

    @Schema(description = "身份证照片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "身份证照片不能为空")
    private List<String> idCardPic;

    @Schema(description = "是否默认", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "是否默认不能为空")
    private Boolean defaultStatus;

}